/**
 * Created by lighter on 2014/12/20.
 */
package Hxw3DEngine.asset.parsers.bson.vo {
import flash.utils.ByteArray;

public class Skeleton{
    public var mtx_type:uint;
    public var joints:Array;
    public var parents:ByteArray;
    public var bind_mtx:ByteArray;

    public function Skeleton(obj:Object) {
        mtx_type = obj.mtx_type;
        joints = obj.joints;
        parents = obj.parents.data;
        bind_mtx = obj.bind_mtx.data;
    }

    public static function create(obj:Object):Object{
        return new Skeleton(obj);
    }
}
}
